//
//  BaseScrollView.h
//  66
//
//  Created by ioszhe on 15/12/10.
//  Copyright © 2015年 66. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIScrollView (scroll)
- (void)gk_scrollToBottomAnimated:(BOOL)animated;
- (void)gk_scrollToTopAnimated:(BOOL)animated;


@property(nonatomic, assign)CGPoint lastOffset;//滚动位置
@property(nonatomic, assign)BOOL ignoreScroll;//忽略滚动
@property(nonatomic, assign)BOOL isMultiSubScroll;//多层结构子内容

@end

@interface BaseScrollView : UIScrollView
@property(nonatomic, copy)CustomAction customAction;

@property(nonatomic, weak)UIScrollView *subScrollView;//
@property(nonatomic, assign)BOOL isMultiContentScroll;//多层结构容器
@property(nonatomic, assign)BOOL scrollBounds;//可以滚动超出边界  默认不可

@property(nonatomic, assign)CGFloat limitOffsetY;//最大滚动高度

@end
